home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Today - The Disc! 5
/
CD-ROM Today - The Disc (Issue 5)(November 1994).ISO
/
mac
/
DHA demo
/
Don Norman Folder
/
The Library
/
The Library.rsrc
/
CSTR_26713_dragClipCSTR
< prev
next >
Wrap
Text File
|
1994-09-21
|
812b
|
33 lines
get getstr("ClipData")
put line 1 of it into cwl
put line 2 of it into cls
put line 3 of it into cms
put line 4 of it into crs
wait 10
if mouse()="down" then
put icon of target into Ist
if Ist=21103 then put 21102 into Ist
repeat until mouse()="up"
if mouseh()>crs then
set loc of target to (mouseh()),(mousev())
put 21104 into I
else
set loc of target to (cms&","&mousev())
put Ist into I
end if
if mousev()>cls then set icon of target to 21103
else set icon of target to I
end repeat
end if
if mousev()>cls or item 1 of loc of target¡cms then
do "set loc of target to cwl"
set name of target to "not a clipped card"
set icon of target to 21103
end if
LS
if loc of target¡cwl then
if short name of target="not a clipped card" then set name of target to id of this cd
go (short name of target)
UDclips
end if
US